package cn.itsource.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 参数管理
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "blog_param")
public class BlogParam {
    @Id
    private Long id;
    @Column(name = "update_user_name")
    private String updateUserName;
    @Column(name = "update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    @Column(name = "param_key")
    private String paramKey;
    @Column(name = "param_value")
    private String paramValue;
    @Column(name = "param_desc")
    private String paramDesc;
}
